package com.skjanyou.ui.saoui.view;

import java.awt.Shape;
import java.awt.image.BufferedImage;

import com.skjanyou.utils.ImageUtil;
import com.skjanyou.view.view.SkjanyouDialog;
import com.sun.awt.AWTUtilities;

public class SAOUIDialog extends SkjanyouDialog {
	private static final long serialVersionUID = "SAOUIDialog".hashCode();
	private BufferedImage image = null;
	public SAOUIDialog() {
		super();
		initView();
	}

	private void initView(){
		setUndecorated(true);
		setSize(350, 250);
		this.image = ImageUtil.getImage("src/com/skjanyou/ui/saoui/resources/Images/background/message.png");
		Shape shape = ImageUtil.getImageShape(image);
		AWTUtilities.setWindowShape(this, shape);
		AWTUtilities.setWindowOpacity(this, 0.9f);
	}
}
